<?php echo $header; ?>
<div id="content">
   <div class="breadcrumb">
    <?php echo $this->breadCrumbs(); ?>
  </div>
  <div class="box">
    <div class="heading">
      <h1><img src="view/image/product.png" alt="" />采集测试 [<?php echo $node['site_name']?> :: <?php echo $node['node_title']?>]</h1>
    </div>
    <div class="content">
    <table class="list">
    <tr><td colspan="3"><a href="<?php echo $url;?>" target="_blank"><b><?php echo $url;?></b></a></td></tr>
	<?php
	if (isset($urllist)) {
		foreach($urllist as $item) {
	?>
	<tr>
			<td width="40%"><?php echo $item['name']?></td>
			<td width="50%"><?php echo $item['url']?></td>
			<td><a href="<?php echo UA('tool/collection/ctest');?>&id=<?php echo $node['id'];?>&step=2&url=<?=urlencode($item['url'])?>" target='_blank'>预览</a></td>
	</tr>
	<?php 
		}
	}
	
	if (isset($content)) {
	?>
		<tr><td width="120">标题</td><td><?=$content['name']?></td></tr>
		<tr><td>SKU</td><td><?=$content['sku']?></td></tr>
		<tr><td>价格</td><td><?=$content['price']?></td></tr>	
		<tr><td>重量</td><td><?=$content['weight']?></td></tr>
		<tr><td>图片</td><td><?=$content['image']?></td></tr>
		<tr><td><?=$node['other1_label'] ? $node['other1_label'] : '其他1'?></td><td><?=$content['other1']?></td></tr>
		<tr><td><?=$node['other2_label'] ? $node['other2_label'] : '其他2'?></td><td><?=$content['other2']?></td></tr>
		<tr><td><?=$node['other3_label'] ? $node['other3_label'] : '其他3'?></td><td><?=$content['other3']?></td></tr>
		<tr><td>描述</td><td><?=$content['description']?></td></tr>
	<?php } ?>
	</table>
    </div>
   </div>
</div>
<?php echo $footer; ?>